/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author marduke
 */
import java.rmi.Naming;

public class Nodo {

    public Nodo(){
        try {
            Nodos n = new NodosImpl();
            Naming.rebind("rmi://localhost:1099/NodosService", n);

        } catch (Exception e) {
            System.out.println("Trouble: " + e);
        }
    }

    public static void main(String[] args) {

        new Nodo();

    }

}
